package cn.wbnull.springbootdemo.enity;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.awt.*;
import java.util.List;

/*
 * @Author:大力王
 * @Date:2025/6/5-05-12:48
 * 开始了
 */
@Data
@Component
public class Player {
    private String id;
    public String name;
    private List<SnakeSegment> snake;
    private List<Position> positionSnake;
    private int score;
    private Direction direction;
    public Color color;
}
